import { get, post } from '@/utils/request'

const BASE_URL = window.baseUrl.action
// 保密培训记录-分页查询
export function pageList(query) {
  return post(BASE_URL + '/colloquyRecord/pageList', query)
}
// 保密培训记录-新增
export function add(query) {
  return post(BASE_URL + '/colloquyRecord/add', query)
}
// 保密培训记录-修改
export function update(query) {
  return post(BASE_URL + '/colloquyRecord/update', query)
}
// 保密培训记录-删除
export function deleteItem(id) {
  return get(BASE_URL + '/colloquyRecord/remove/' + id)
}

// 保密培训记录-详情
export function details(id) {
  return get(BASE_URL + '/colloquyRecord/details/' + id)
}
